package com.rerun.enums;

/**
 * The enum Sex enum.
 *
 * @author dax.
 * @version v1.0
 * @since 2017 /10/13 10:02
 */
public enum  SexEnum {

    /**
     * Male sex enum.
     */
    MALE(1,"男"),

    /**
     * Female sex enum.
     */
    FEMALE(0,"女");

    private final long key;


    private final String desc;


    SexEnum(final long key, final String desc) {
        this.key = key;
        this.desc = desc;
    }

    /**
     * Gets key.
     *
     * @return the key
     */
    public long getKey() {
        return this.key;
    }

    /**
     * Gets desc.
     *
     * @return the desc
     */
    public String getDesc() {
        return this.desc;
    }
}
